

class MdTest():

    @staticmethod
    def get_test():
        sample_text = r"""# 一级标题
## 二级标题1
### 三级标题
## 二级标题2

$$
\begin{bmatrix}
a & b \\
c & d 
\end{bmatrix}
$$
```
int main(int a,char *argv[])
{
    return 0;
}
```



```mermaid
graph TD
    A[Enter Chart Definition] --> B(Preview)
    B --> C{decide}
    C --> D[Keep]
    C --> E[Edit Definition]
    E --> B
    D --> F[Save Image and Code]
    F --> B
```

"""
        return sample_text



    @staticmethod
    def get_test1():
        sample_text = r"""

```mermaid
graph TD
    A[Enter Chart Definition] --> B(Preview)
    B --> C{decide}
    C --> D[Keep]
    C --> E[Edit Definition]
    E --> B
    D --> F[Save Image and Code]
    F --> B
```
"""
        return sample_text
    
class RstTest():
    @staticmethod
    def get_test():
        rst_content = r"""
数学公式示例
=============

行内公式: :math:`E = mc^2`

块公式:

.. math::

   \sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6}

.. code-block:: c

    int main(int a){
        printf("hello world\n");
    }

"""
        return rst_content